package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 供应商的分账管理表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysUserSeparateAccount对象", description = "分账管理表")
public class OaSysUserSeparateAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分账主键id")
    @TableId(value = "separate_account_id", type = IdType.INPUT)
    private Long separateAccountId;

    @ApiModelProperty(value = "供应商用户id")
    private Long sysUserId;

    @ApiModelProperty(value = "供应商姓名")
    private String userName;

    @ApiModelProperty(value = "城市id")
    private Integer cityId;

    @ApiModelProperty(value = "供应商登录名")
    private String loginName;

    @ApiModelProperty(value = "供应商负责人姓名")
    private String leader;

    @ApiModelProperty(value = "供应商手机号")
    private String mobile;

    @ApiModelProperty(value = "分账管理规则名字")
    private String separateAccountRoleName;

    @ApiModelProperty(value = "渠道id")
    private Integer channelId;

    @ApiModelProperty(value = "渠道分成比例")
    private String channelProportion;

    @ApiModelProperty(value = "麒麟分成比例")
    private String qilinProportion;

    @ApiModelProperty(value = "cp分成比例")
    private String cpProportion;

    @ApiModelProperty(value = "司机可提现金额比例")
    private String driverWithdrawalProportion;

    @ApiModelProperty(value = "司机违规押金比例")
    private String driverViolationProportion;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "归属公司")
    private Long companyId;

    @ApiModelProperty(value = "归属部门")
    private Long officeId;

    public static final String SYS_USER_ID = "sys_user_id";
    public static final String SEPARATE_ACCOUNT_ID = "separate_account_id";
    public static final String LOGIN_NAME = "login_name";
    public static final String USER_NAME = "user_name";
    public static final String CITY_ID = "city_id";
    public static final String MOBILE = "mobile";
    public static final String CHANNEL_ID ="channel_id";
    public static final String DELETED = "deleted";
    public static final String LEADER = "leader";
    public static final String COMPANY_ID = "company_id";
    public static final String OFFICE_ID = "office_id";
}
